<template>

  <view class="login-layer main-bg"
  >
    <!--      <u-popup :show="show" mode="bottom"  @close="close" @open="open">-->

    <loginWechat/>


    <!--      </u-popup>-->

  </view>
</template>
<script setup>
import {computed, ref} from "vue";
import loginWechat from "@/components/login/login-wechat.vue";
import { ossImage,jump } from '@/utils/index'
const isTabType = ref(1);
const show = ()=>{

  uni.login({
    provider: 'univerify',
    univerifyStyle: { // 自定义登录框样式
      //参考`univerifyStyle 数据结构`
    },
    success(res){ // 登录成功
      console.log(res.authResult);  // {openid:'登录授权唯一标识',access_token:'接口返回的 token'}
    },
    fail(res){  // 登录失败
      console.log(res.errCode)
      console.log(res.errMsg)
    }
  })
}




</script>

<style lang="scss" scoped>
.login-layer {
  position: relative;
  overflow: hidden;
  padding:30rpx;
  height: 100vh;
}

</style>
